package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;

public interface SensitiveControllerApi {

    public ResponseResult findByNameAndPage(SensitiveDto dto);

    /**
     * 根据ID删除
     *
     */
    public ResponseResult deleteById(Integer id);

    /**
     * 添加
     * @param
     * @return
     */
    public ResponseResult save(AdSensitive adSensitive);

    /**
     * 修改
     * @param
     * @return
     */
    public ResponseResult update(AdSensitive AdSensitive);
}
